phase1: add support for overriding feeds host main v25
authorPetr Štetiar <[email protected]>
Fri, 12 Dec 2025 21:41:01 +0000 (21:41 +0000)
committerPetr Štetiar <[email protected]>
Sun, 14 Dec 2025 05:09:49 +0000 (05:09 +0000)
commit057e8adc9d49eda73499b5b771cba5df5e8f80d1
treeb40b9e36e24c8fdb1a9e8a871a9b2c166646de47
parentb0a3bf3f9b2acf5be391ed1d684e135f1161af19
phase1: add support for overriding feeds host

Currently git.openwrt.org is sometimes overloaded, so lets implement a
mechanism to override the source host for feeds.

This introduces a `feeds_host_override` configuration option. When set,
the buildmaster will temporarily modify `feeds.conf.default` to point to
the alternate host (e.g., GitHub) before updating feeds, and restore the
original configuration afterwards.

This is particularly useful when the primary git server is returning 503
errors:

    Updating feed 'packages' from 'https://git.openwrt.org/feed/packages.git' ...
    Cloning into './feeds/packages'...
    fatal: unable to access 'https://git.openwrt.org/feed/packages.git/': The requested URL returned error: 503
    failed.

Signed-off-by: Petr Štetiar <[email protected]>
docker/config.ini
phase1/config.ini.example
phase1/master.cfg